#define _CRT_SECURE_NO_WARNINGS
#include "MyQueue.h"
#include "MyStack.h"
//#include <algorithm>

#include "MyPriority_queue.h"
void test1()
{

	//wzx::priority_queue<int, std::vector<int>, wzx::less<int>> pq1;

	//for (int x = 1; x < 6; x++)
	//{
	//	pq1.push(x);
	//}

	//for (int x = 1; x < 6; x++)
	//{
	//	pq1.pop();
	//}
	//

	int arr[10] = { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 };
	wzx::priority_queue<int, std::vector<int>, wzx::greater<int>> pq1(arr, arr + sizeof(arr) / sizeof(arr[0]));

	wzx::priority_queue<int, std::vector<int>, wzx::greater<int>> pq2;
	
	pq1.swap(pq2);
}







int main()
{

	test1();
	return 0;
}